using System;


class WithinCircleAndOutOfRectangle
{
	static void Main()
	{
		Console.WriteLine("Enter X :");
		double x = double.Parse(Console.ReadLine());
		Console.WriteLine("Enter Y :");
		double y = double.Parse(Console.ReadLine());
		bool inCircle = (x-1) * (x-1) + (y-1) * (y-1) <= 9;
		bool inRectangle = ((x > -1)&&(x < 5))&&((y > -1)&&(y < 1));
		if (inCircle==true && inRectangle == false)
		{
			Console.WriteLine("Inside of circle and outside of the rectangle!");
		}
		else
		{
			Console.WriteLine("Out of conditions:)");
		}
	}
}